package nf.dao;

import javafx.scene.control.Cell;
import nf.entity.CellPhone;
import nf.entity.User;

import java.util.List;

public interface CellPhoneDao {
    boolean add(CellPhone phone);

    boolean deleteById(int id);

    boolean updateById(CellPhone phone);

    List<CellPhone> querByName(String name);

    List<CellPhone> quer();

    User selectByName(String name);

    User selectByUsname(String name);

    User select(User user);

    boolean updateUser(User user);

    boolean adduser(User user);
}
